﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adm_user_edit_win.aspx.cs" Inherits="adm_user_edit_win" %>
<head runat="server">
    <title>Thoi trang</title>
    <link rel="Stylesheet" href="css/styles.css" />
</head>
<body>
<form runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#B6A8AD" >
	<!-- Header page-->
	<tr>
		<td height="10">&nbsp;</td>
	</tr>
	<tr>
		<td><h3 style="margin:0; padding:0; color:#DA3E00; font-size:22px; font-weight:normal;">Add New User</h3></td>
	</tr>
	<tr>
		<td><asp:Label ID="lblAlert" runat="server" style="border:solid 1px Gray;padding:3px" Text="aaaaaaaaa" Visible="false"></asp:Label></td>
	</tr>
	<tr>
		<td>&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td height="300" valign=top>
		    <table border="0" cellpadding="0" cellspacing="0" width="100%">
		        <tr>
			        <td>
			            <table border="0" cellpadding="3" cellspacing="0" width=100%>
					        <tr>
						        <td nowrap width=142>Login E-mail</td>
						        <td><asp:TextBox id="txtLoginEmail" style="width:200px" CssClass="txtInput" runat="server"/>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                        ControlToValidate="txtLoginEmail" ErrorMessage="Email" 
                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                </td>
					        </tr>
					        <tr>
						        <td>Password:</td>
						        <td><asp:TextBox id="txtPassword" style="width:200px" TextMode="Password" CssClass="txtInput" runat="server"/></td>
					        </tr>
					        <tr>
						        <td>Confirm password:</td>
						        <td><asp:TextBox id="txtConfirmPassword" style="width:200px" TextMode="Password" CssClass="txtInput" runat="server"/></td>
					        </tr>
					        <tr>
						        <td>Gender:</td>
						        <td>
						            <asp:DropDownList ID="drpGener" runat="server" style="width:200px">
						                <asp:ListItem Value="M">Male</asp:ListItem>
						                <asp:ListItem Value="F">Female</asp:ListItem>
						            </asp:DropDownList>
						        </td>
					        </tr>
					        <tr>
						        <td>Firstname:</td>
						        <td><asp:TextBox id="txtFirstName" style="width:200px" CssClass="txtInput" runat="server"/>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtFirstName" ErrorMessage="Firstname"></asp:RequiredFieldValidator>
                                </td>
					        </tr>
					        <tr>
						        <td>Lastname:</td>
						        <td><asp:TextBox id="txtLastname" style="width:200px" CssClass="txtInput" runat="server"/>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                        ControlToValidate="txtLastname" ErrorMessage="Lastname"></asp:RequiredFieldValidator>
                                </td>
					        </tr>
					        <tr>
						        <td>Status:</td>
						        <td>
						            <asp:DropDownList ID="drpStatus" style="width:200px" runat="server">
                                        <asp:ListItem Value="1">Actived</asp:ListItem>
                                        <asp:ListItem Value="0">Inactived</asp:ListItem>
						            </asp:DropDownList>
						        </td>
					        </tr>
					        <tr>
						        <td>User Type:</td>
						        <td>
						            <asp:DropDownList ID="drpUserType" style="width:200px" runat="server" 
                                        DataTextField="Name" DataValueField="UserTypeID">
						            </asp:DropDownList>
						        </td>
					        </tr>
					        <tr>
						        <td colspan=2 style="padding: 0 0 0 0">
						            <table border=0 cellpadding=3 cellspacing=0 id="cat" style="display:none">
							            <tr>
								            <td class="paging" width=142>Author type:</td>
								            <td>
								                <asp:DropDownList ID="drpAuthorType" runat="server">
						                        </asp:DropDownList>
								            </td>
							            </tr>
						            </table>
						        </td>
					        </tr>
					        <tr>
						        <td colspan=2 style="padding: 0 0 0 0">
						            <table border=0 cellpadding=3 cellspacing=0 id="accessfea" style="display:none">
							            <tr>
								            <td class="paging" nowrap>Access Article Featured:</td>
								            <td><asp:CheckBox ID="chkisAccessFeatured"  runat="server"/></td>
							            </tr>
						            </table>
						        </td>
					        </tr>
				        </table>
				    </td>
			    </tr>
		    </table>
		</td>
	</tr>
	<tr>
		<td >
		    <table width=100% cellpadding=3 cellspacing=0>
				<tr bgcolor="#4D4D4F">
					<td align=right style=" height:40px;">
					    <asp:Button ID="btnSubmit" Text="Add New" CssClass="btnGo" runat="server" onclick="btnSubmit_Click"/>
					    <asp:Button ID="btnUpdate" Text="Update" CssClass="btnGo" runat="server" 
                            onclick="btnUpdate_Click"/>
						<input type="button" name="act" value="Close" class="btnGo" onclick="opener.location.reload(true);opener.focus();window.close();">
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</form>